﻿<%-- The following 4 lines are ASP.NET directives needed when using SharePoint components --%>

<%@ Page Inherits="Microsoft.SharePoint.WebPartPages.WebPartPage, Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" MasterPageFile="~masterurl/default.master" Language="C#" %>

<%@ Register TagPrefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>

<asp:Content ID="Content1" ContentPlaceHolderID="PlaceHolderAdditionalPageHead" runat="server">
  <link rel="stylesheet" type="text/css" href="../Content/App.css" />
  <script type="text/javascript" src="../Scripts/jquery-1.6.2.js"></script>
  <script type="text/javascript" src="../Scripts/App.js"></script>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="PlaceHolderMain" runat="server">

  <div id="toolbar">
    <input type="button" id="cmdUpdateSiteTitle" value="Update Site Title" class="ms-ButtonHeightWidth" />
    <input type="button" id="cmdAddNewList" value="Add New List" class="ms-ButtonHeightWidth" />
    <input type="button" id="cmdUseCustomMaster" value="Use Custom Master Page" class="ms-ButtonHeightWidth" />
    <input type="button" id="cmduseAppMaster" value="Use Standard Master Page" class="ms-ButtonHeightWidth" />
  </div>

  <div id="results" />

</asp:Content>


<asp:Content ID="Content3" ContentPlaceHolderID="PlaceHolderPageTitleInTitleArea" runat="server">
  Using CSOM from client-side JavaScript
</asp:Content>


<asp:Content ID="Content4" ContentPlaceHolderID="PlaceHolderPageTitle" runat="server">
  SharePoint-hosted App CSOM Demo
</asp:Content>
